1 00:00:00,000 --> 00:00:14,560 This is Hacker Public Radio episode 3,988 for Wednesday, the 26th of July 2023. 2 00:00:14,560 --> 00:00:20,080 Today's show is entitled, In Max Package Curation Part 2. 3 00:00:20,080 --> 00:00:24,680 It is hosted by D&T and is about 11 minutes long. 4 00:00:24,680 --> 00:00:27,280 It carries a clean flag. 5 00:00:27,280 --> 00:00:34,480 The summary is, let's go through every single package installed in my EMAX configuration, 6 00:00:34,480 --> 00:00:40,920 file 2 of 3. 7 00:00:40,920 --> 00:00:49,280 Alright, this is the follow-up to the last show that I did in which I just read to you 8 00:00:49,280 --> 00:00:52,440 my EMAX configuration, how fun is that. 9 00:00:52,440 --> 00:00:58,040 So, we are going to continue now with the second file that I have, second out of 3. 10 00:00:58,040 --> 00:01:03,440 So there's only one more of these, and you're not required to listen to it anyway. 11 00:01:03,440 --> 00:01:09,840 So yeah, my name is D&T, the last episode, I don't know what number it was, but I'll 12 00:01:09,840 --> 00:01:13,680 put it in the show notes in case you missed it and want to go back. 13 00:01:13,680 --> 00:01:19,640 So in that first one, we went through my first configuration file that loads kind of a bunch 14 00:01:19,640 --> 00:01:27,360 of what I see as the basics of that fancy EMAX experience, and then it has some logic 15 00:01:27,360 --> 00:01:29,600 for loading the other two files. 16 00:01:29,600 --> 00:01:37,040 So now I'm going to go through the second file that this file will load on my Linux laptop 17 00:01:37,040 --> 00:01:43,640 and on my work laptop, but it will not load on termux if I open this same configuration, 18 00:01:43,640 --> 00:01:49,600 if I open EMAX on termux with the same configuration, this file will not load. 19 00:01:49,600 --> 00:01:58,680 So, I have a section about writing, so I'm going to have a bunch of packages here to do 20 00:01:58,680 --> 00:01:59,680 with writing. 21 00:01:59,680 --> 00:02:03,840 Obviously I'm not going to be writing on termux very much, so that's why I didn't include 22 00:02:03,840 --> 00:02:06,000 those in the basics. 23 00:02:06,000 --> 00:02:10,480 So first package we have is called Oli Vetti. 24 00:02:10,480 --> 00:02:16,800 It is kind of like a right room mode, it's like a focused writing mode or whatever. 25 00:02:16,800 --> 00:02:25,560 It'll narrow your text block a little bit and get rid of some other UI elements here. 26 00:02:25,560 --> 00:02:32,040 I add to it what I call typewriter mode, which is based on this other package that's 27 00:02:32,040 --> 00:02:33,520 coming next. 28 00:02:33,520 --> 00:02:37,920 That other package is called centered cursor mode, and it does like what I would call 29 00:02:37,920 --> 00:02:46,320 typewriter scrolling, which is it keeps the cursor right in the center of the screen 30 00:02:46,360 --> 00:02:47,320 vertically. 31 00:02:47,320 --> 00:02:57,760 So as you advance through your document typing out, typing up a storm, the screen will scroll 32 00:02:57,760 --> 00:03:02,720 automatically as if you were, you know, as if this were a typewriter. 33 00:03:02,720 --> 00:03:08,200 I've always enjoyed those things for kind of quickly writing out a bunch of stuff, so that's 34 00:03:08,200 --> 00:03:12,480 what that is, centered cursor mode is what the package is called. 35 00:03:12,480 --> 00:03:14,960 Then next we have right good mode. 36 00:03:15,000 --> 00:03:22,480 So this is, I mean, that's kind of silly, I guess, but it will highlight some, some 37 00:03:22,480 --> 00:03:26,000 what it thinks might be errors for you. 38 00:03:26,000 --> 00:03:31,440 So it's not, it's not super smart or anything, there's no AI or anything going on there. 39 00:03:31,440 --> 00:03:37,080 It'll just have like a list of what it calls Weasel words, for example, that are words 40 00:03:37,080 --> 00:03:45,680 that are just likely to be used sort of lazily, let's say, words that could be well 41 00:03:45,680 --> 00:03:53,000 replaced by other words that will maybe be more evocative or that will just be better. 42 00:03:53,000 --> 00:03:55,280 So that's right good mode. 43 00:03:55,280 --> 00:04:00,000 It's kind of nice, I like to use it from time to time, and I do think it helps me make 44 00:04:00,000 --> 00:04:03,120 some useful edits to what I wrote. 45 00:04:03,120 --> 00:04:06,120 Next we have Flice Spell Correct. 46 00:04:06,160 --> 00:04:14,040 So Flice Spell, I guess yeah, Flice Spell comes with Emacs, it's like a spell checking package 47 00:04:14,040 --> 00:04:19,440 that comes with, you know, it's distributed with what you would call Vanilla Emacs, 48 00:04:19,440 --> 00:04:24,320 which is just the plain Emacs without any configuration or anything. 49 00:04:24,320 --> 00:04:28,400 So Flice Spell comes with it, that's the spell checking. 50 00:04:28,400 --> 00:04:34,000 Flice Spell Correct provides commands for you to quickly correct your errors, your spelling 51 00:04:34,080 --> 00:04:39,960 mistakes, and next we have Flice Spell Correct pop up, which is the same thing, but instead 52 00:04:39,960 --> 00:04:46,960 of showing the corrections in the mini buffer, it will show them in kind of a tool tip in 53 00:04:46,960 --> 00:04:47,960 the buffer itself. 54 00:04:47,960 --> 00:04:49,120 It's a little bit better. 55 00:04:49,120 --> 00:04:52,720 So next we have Power Thessaurus. 56 00:04:52,720 --> 00:05:03,760 So Power Thessaurus connects to an API from powerthessaurus.org to get things like synonyms 57 00:05:03,800 --> 00:05:08,840 and end to names and similar words and things like that. 58 00:05:08,840 --> 00:05:16,000 There's also a kind of a nice interface for replacing a word with some other synonyms. 59 00:05:16,000 --> 00:05:22,440 So you can just have the cursor on a word and you say I want to replace it with a synonym 60 00:05:22,440 --> 00:05:31,000 and it will show you some synonym options and then you can just quickly pick the one 61 00:05:31,000 --> 00:05:33,200 you want and it will replace it. 62 00:05:33,200 --> 00:05:40,080 In Power Thessaurus does it like with like some smarts a little bit. 63 00:05:40,080 --> 00:05:42,680 Then next we have SinoSaurus. 64 00:05:42,680 --> 00:05:49,200 SinoSaurus is the same thing as Power Thessaurus, but it uses word net, which is an application 65 00:05:49,200 --> 00:05:56,080 you can install in your computer, so it doesn't rely on anybody's service on the internet. 66 00:05:56,120 --> 00:06:03,320 It is not as sophisticated in the replacing as Power Thessaurus, but it's just fine. 67 00:06:03,320 --> 00:06:05,560 I could very well get rid of Power Thessaurus. 68 00:06:05,560 --> 00:06:08,720 I probably will at some point, I guess. 69 00:06:08,720 --> 00:06:10,640 Next we have word nut. 70 00:06:10,640 --> 00:06:20,080 So word nut is to get word definitions and things from this application that's called word 71 00:06:20,120 --> 00:06:21,080 net. 72 00:06:21,080 --> 00:06:31,120 Well, so word net, I guess, is the database and then maybe word nut is the Linux application 73 00:06:31,120 --> 00:06:36,040 for consulting in maybe something like that. 74 00:06:36,040 --> 00:06:42,200 It's pretty handy, you can have the cursor over a word and run a command to see like a dictionary 75 00:06:42,200 --> 00:06:43,520 definition of it. 76 00:06:43,520 --> 00:06:45,040 It's pretty good. 77 00:06:45,040 --> 00:06:47,400 Next we have Unfill. 78 00:06:47,400 --> 00:06:54,720 So you might be familiar with the idea of filling a paragraph, that's taking a paragraph 79 00:06:54,720 --> 00:07:02,680 of text that's flowing forever to the right. 80 00:07:02,680 --> 00:07:10,800 If you're writing in left to right, script and then you want to break it up into lines 81 00:07:10,800 --> 00:07:16,360 up to a certain length, that's called to fill a paragraph. 82 00:07:16,360 --> 00:07:24,960 So Unfill provides a command that's called Unfill toggle that will fill in Unfill paragraphs 83 00:07:24,960 --> 00:07:27,480 with the same command. 84 00:07:27,480 --> 00:07:33,640 Sometimes it is useful to do that, especially when you're typing in some kind of a markup 85 00:07:33,640 --> 00:07:42,400 that where it's nice to have the paragraphs filled, to have them broken up into lines 86 00:07:42,440 --> 00:07:47,440 of an up to a certain width, but you need to paste it in somewhere that doesn't 87 00:07:47,440 --> 00:07:48,440 like that. 88 00:07:48,440 --> 00:07:53,640 And it's kind of nice to be able to quickly untill the paragraph and then copy it. 89 00:07:53,640 --> 00:07:56,800 Next we have Mark Down mode. 90 00:07:56,800 --> 00:08:05,560 That is that horrible, horrible markup language that everybody hates, but nobody can get away 91 00:08:05,560 --> 00:08:06,560 from. 92 00:08:06,600 --> 00:08:11,280 I had to add that thing to my MX configuration. 93 00:08:11,280 --> 00:08:13,240 That's all I have to say about that. 94 00:08:13,240 --> 00:08:16,960 Next I have some coding related stuff now. 95 00:08:16,960 --> 00:08:21,080 So we start with FlightCheck, which is syntax checking. 96 00:08:21,080 --> 00:08:23,760 It will show me where I messed up and why? 97 00:08:23,760 --> 00:08:31,920 And FlightCheck pop up tip, it will show me where I messed up in a little pop up in the buffer 98 00:08:31,960 --> 00:08:39,400 instead of in the mode line or the echo area or mini buff or whatever it is. 99 00:08:39,400 --> 00:08:41,840 So yeah, that's pretty nice. 100 00:08:41,840 --> 00:08:45,840 It's definitely handy to have that FlightCheck stuff working with you. 101 00:08:45,840 --> 00:08:54,080 And then next I have some HTML and things about mainly for my website that's in Jackal. 102 00:08:54,080 --> 00:08:56,840 I have Emmet mode. 103 00:08:56,880 --> 00:09:07,880 That's kind of like an HTML mode, then SAS mode for the style sheets, web mode is also 104 00:09:07,880 --> 00:09:08,880 HTML. 105 00:09:08,880 --> 00:09:11,720 I don't remember exactly what Emmet mode does. 106 00:09:11,720 --> 00:09:17,600 Oh yeah, Emmet mode is this cool thing where you can type in an HTML document. 107 00:09:17,600 --> 00:09:25,160 You can type like CSS rules and then it expands them into the HTML. 108 00:09:25,160 --> 00:09:29,920 And yeah, it's pretty clever to it does that kind of ridiculous, but anyway, next 109 00:09:29,920 --> 00:09:38,520 we have Python, that scripting language you know, and it's just to have a Python major 110 00:09:38,520 --> 00:09:45,680 mode for editing Python files, Python scripts, and next we have HTML to do HTML dash 111 00:09:45,680 --> 00:09:47,400 to do. 112 00:09:47,400 --> 00:09:49,080 So that's a pretty nice one. 113 00:09:49,080 --> 00:09:54,360 You can be editing like a Python file and then you can have those keywords like fix 114 00:09:54,400 --> 00:10:02,280 me to do whatever, and you can quickly navigate through through all those keywords that 115 00:10:02,280 --> 00:10:04,760 appear in your file. 116 00:10:04,760 --> 00:10:12,320 So yeah, it's cool to see it and be able to quickly go through these notes you left for 117 00:10:12,320 --> 00:10:16,160 yourself in your file, whatever type of file it is. 118 00:10:16,160 --> 00:10:21,960 Then next we have, well, I don't know how to say this one is in my git or magic, or I don't 119 00:10:22,040 --> 00:10:24,640 know, my git, I'm gonna say. 120 00:10:24,640 --> 00:10:30,680 So that's git for Emacs, I mean, it's to me, it's the best way to use git. 121 00:10:30,680 --> 00:10:33,360 It is really, really good. 122 00:10:33,360 --> 00:10:40,680 So yeah, my git, there isn't even like there's a cool other package that I don't use, 123 00:10:40,680 --> 00:10:48,080 but it'll show, I think it's called my git to do, it'll show in your my git buffer. 124 00:10:48,080 --> 00:10:51,880 It'll show right where it shows like the commit log or whatever it is. 125 00:10:51,880 --> 00:10:59,720 It'll show all the to do keywords that appear in your files, you know, that's pretty cool. 126 00:10:59,720 --> 00:11:02,000 Next I have git time machine. 127 00:11:02,000 --> 00:11:10,320 This one's really nice to you open a file that's under git and you can really quickly 128 00:11:10,320 --> 00:11:13,200 navigate through the different revisions of it. 129 00:11:13,200 --> 00:11:21,360 Combine that with my git blame to show you who made the change and you got a pretty useful 130 00:11:21,360 --> 00:11:23,360 tool there. 131 00:11:23,360 --> 00:11:25,560 So that's the end of init base. 132 00:11:25,560 --> 00:11:32,160 So we finish it off with provide init based, tell GTS, that this is what we're calling 133 00:11:32,160 --> 00:11:35,400 all this stuff here and that this file is doing. 134 00:11:35,400 --> 00:11:42,080 So it says if I were, as if this were a package and Emacs package that I'm calling init 135 00:11:42,160 --> 00:11:44,560 base, okay? 136 00:11:44,560 --> 00:11:50,880 Alright, let's move on to the last file. 137 00:11:50,880 --> 00:11:55,880 You have been listening to hacker public radio at hacker public radio.org. 138 00:11:55,880 --> 00:12:01,040 Today's show was contributed by a HBR this night like yourself, if you ever thought 139 00:12:01,040 --> 00:12:07,560 of recording a podcast, click on our contribute link to find out how easy it means. 140 00:12:07,560 --> 00:12:14,600 Interesting for HBR has been kindly provided by an onsthost.com, internet archive and our 141 00:12:14,600 --> 00:12:16,120 synced.net. 142 00:12:16,120 --> 00:12:22,200 On the satellite stages, today's show is released on our creative comments, attribution 143 00:12:22,200 --> 00:12:24,480 4.0 international license.